<?php

namespace app\index\controller;

class Index extends \app\common\controller\AuthBase {

    public function __construct() {
        parent::__construct();
    }

    public function index() {
        return $this->output(['code' => 'success']);
    }

    public function test() {
        $params = $this->input();
        file_put_contents('/mnt/test/Arvato_test.txt', json_encode($params) . "\n", FILE_APPEND);
        return $this->output(['action' => 'success']);
    }

}
